package com.yf1706.dao.jpa;

import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.Query;

import com.yf1706.bean.SalarySob;

public interface ISalarySobJDAO extends JpaRepository<SalarySob, Integer>{

	@Query("SELECT s from SalarySob s where s.salarySobName like %?1%")
	Page<SalarySob> findSearch (String query, Pageable pageable);
}
